home *** CD-ROM | disk | FTP | other *** search
NeXT TypedStream Data | 1992-03-17 | 3.1 KB | 92 lines |
- typedstream
- Window
- Responder
- Object
- @@ifss**s
- TextView
- ScrollView
- ClipView
- ciifffcfffs
- [2508c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
- \margl40
- \margr40
- \pard\tx2880\tx5040\tx7640\tx9040\tx9580\tx10720\tx11080\tx11480\tx12140\tx15480\f0\b0\i0\ul0\fs24 \
- Title 1 time per Report\
- Column Headings 1 time per Report\
- deptCode 1 time per Commission\
- salesPersonName 1 time per Commission\
- monthName 1 time per Commission\
- commAmount 1 time per Commission\
- "Total for Month of " 1 time per Month\
- monthTotal 1 time per Month\
- "Total Commissions " 1 time per Report\
- reportTotal 1 time per Report\
- ENTITY OCCURS ENTITY\
- Report 1 time only.\
- Month many times per Report\
- Commission many times per Month\
- \pard\tx3200\tx6500\tx7640\tx9040\tx9580\tx10720\tx11080\tx11480\tx12140\tx15480 .s\
- \pard\tx3200\tx3720\tx4260\tx4800\tx5320\tx7640\tx9040\tx11080\tx11480\tx15480 Commission Report #2\
- Title\
- Column Headings\
- Month\
- Commission\
- deptCode\
- salesPersonName\
- monthName\
- commAmount\
- "Total for Month of "\
- monthName\
- monthTotal\
- "Total Commissions " \
- reportTotal\
- \pard\tx2880\tx5040\tx7640\tx9040\tx9580\tx10720\tx11080\tx11480\tx12140\tx15480 \
- \pard\tx3200\tx6500\tx7640\tx9040\tx9580\tx10720\tx11080\tx11480\tx12140\tx15480 .s\
- \pard\tx3200\tx3720\tx4260\tx4800\tx5320\tx7640\tx9040\tx11080\tx11480\tx15480 Print Commission Report #2\
- Print Title\
- Print Column Headings\
- For each Month\
- For each Commission\
- Print deptCode\
- Print salesPersonName\
- Print monthName\
- Print commAmount\
- Print"Total for Month of "\
- Print monthName\
- Print monthTotal\
- Print"Total Commissions " \
- Print reportTotal\
- \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320 \
- \pard\tx2880\tx5040\tx7640\tx9040\tx9580\tx10720\tx11080\tx11480\tx12140\tx15480 \
- \pard\tx3200\tx6500\tx7640\tx9040\tx9580\tx10720\tx11080\tx11480\tx12140\tx15480 .s\
- \pard\tx3200\tx3720\tx4260\tx4800\tx5320\tx7640\tx9040\tx11080\tx11480\tx15480 Print Commission Report #2\
- Print Title\
- Print Column Headings\
- Read deptCode, salespersonName, monthName, commAmount\
- reportTotal = 0\
- While not EOF (Month)\
- prevMonthname = monthName\
- While monthName = previousMonthName ( Commission)\
- and not EOF\
- Print deptCode\
- Print salesPersonName\
- Print monthName\
- Print commAmount\
- monthtotal = monthTotal + commAmount\
- Read deptCode, salespersonName, monthName, commAmount\
- Print"Total for Month of "\
- Print monthName\
- Print monthTotal\
- reportTotal = reportTotal + monthTotal\
- Print"Total Commissions " \
- Print reportTotal\
- NXCursor
- NXImage
- NXibeam
- Scroller
- Control
- _doScroller:
- NXRulerView
- @@@ffs
- 8/private/Net/apollo/Users/jrett/Book/CommRpt/report#2.ad
-